package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingProjectDto;
import com.zzyl.vo.NursingProjectVo;

import java.util.List;

/**
 * @Description NusingProjectService
 * @Author LiShunSen
 * @Date 2024-08-24
 */

public interface NursingProjectService {
    /**
     * 分页查询
     *
     * @param name
     * @param status
     * @param pageNum
     * @param pageSize
     * @return
     */
    PageResponse<NursingProjectVo> getByPage(String name, Integer pageNum, Integer pageSize, Integer status);

    /**
     * 新增护理项目
     *
     * @param nursingProjectDto
     * @return
     */
    void addProjec(NursingProjectDto nursingProjectDto);

    NursingProjectVo getById(Long id);

    void updateProject(NursingProjectDto nursingProjectDto);

    void statusProject(Long id, Integer status);

    void deletProJect(Long id);

    List<NursingProjectVo> findAll();

}
